<?
session_start();
error_reporting(E_ALL);
$serverName = $_SERVER['SERVER_NAME'];
if($serverName == 'localhost'){
   define('PATH_ROOT',$_SERVER['DOCUMENT_ROOT']);
}else{
   define('PATH_ROOT',$_SERVER['DOCUMENT_ROOT'].'/appkaraoke');
}
require_once("system/classes/Database.class.php");
require_once("system/func/functions.php");
require_once("system/classes/Modules.class.php");
require_once("system/classes/Administrator.class.php");
require_once("layout/mod_config.php");

$admin_id 				= getValue("user_id","int","SESSION");
$admin_name          = getValue("userlogin","str","SESSION");
$admin_pass          = getValue("password","str","SESSION","");
$isAdmin 				= getValue("isAdmin","int","SESSION");


$meta_title = 'Quản trị web';
$js_global  = '';
$css_global  = '';

$css_global  .= '<link href="theme/css/bootstrap.min.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="theme/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="theme/css/edu.css" rel="stylesheet" type="text/css">';
$css_global  .= '<link href="theme/css/uniform.css" rel="stylesheet" type="text/css">';

$js_global   .= '<script language="javascript" src="theme/js/jquery.min.js"></script>';
$js_global   .= '<script language="javascript" src="theme/js/actions.js"></script>';
$js_global   .= '<script language="javascript" src="theme/js/check-all.js"></script>';
$js_global   .= '<script language="javascript" src="theme/js/uniform.js"></script>';


?>